//
ws=WScript.CreateObject("WScript.Shell");
fso=new ActiveXObject("Scripting.FileSystemObject");

//
fisiere = ["Win32model.vcxproj.user", "Win32model.sdf", "Win32model.suo"];

//
try {
	for(fi in fisiere) {
	if(fso.FileExists(ws.CurrentDirectory + "\\" + fisiere[fi]))
	fso.DeleteFile(ws.CurrentDirectory + "\\" + fisiere[fi], 1);
	}
}
catch(err) { ws.popup(err + " : " + fisiere[fi], 5, " curatenie.js", 16); }

//
foldere = ["ipch", "Debug", "Release", "x64"];
for(fo in foldere) {
	if(fso.FolderExists(ws.CurrentDirectory +"\\"+foldere[fo]))
	fso.DeleteFolder(ws.CurrentDirectory +"\\"+foldere[fo], 1);
}
